/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Jdccs.Model
{

    /// <summary>
    ///  工单
    /// </summary>
    public class Ticket
    {

        ///<summary>
        /// 工单编号
        ///</summary>
        public string TicketNo{ get; set; }
        ///<summary>
        /// 工单名称
        ///</summary>
        public string TicketTemplateName{ get; set; }
        ///<summary>
        /// 工单模板CODE
        ///</summary>
        public string TicketTemplateCode{ get; set; }
        ///<summary>
        /// 工单类型
        ///</summary>
        public string TicketTypeName{ get; set; }
        ///<summary>
        /// 工单状态 pendingReview:待审核 已撤销 revoked:已撤销 processing:处理中 pendingVerification:待核验 pendingClose:待关单 rejected:已拒绝 completed:已完成 cancelled:已取消 draft:草稿中
        ///</summary>
        public string Status{ get; set; }
        ///<summary>
        /// 描述
        ///</summary>
        public string Description{ get; set; }
        ///<summary>
        /// 当前任务节点
        ///</summary>
        public string CurrentTaskNodeId{ get; set; }
        ///<summary>
        /// 工单类型ID
        ///</summary>
        public int? TicketTypeId{ get; set; }
        ///<summary>
        /// 工单模板ID
        ///</summary>
        public int? TicketTemplateId{ get; set; }
        ///<summary>
        /// 主账号pin
        ///</summary>
        public string OwnerPin{ get; set; }
        ///<summary>
        /// 子用户pin
        ///</summary>
        public string SubUserPin{ get; set; }
        ///<summary>
        /// 提交账号
        ///</summary>
        public string SubmitAccount{ get; set; }
        ///<summary>
        /// 用户操作
        ///</summary>
        public List<int?> UserOperation{ get; set; }
        ///<summary>
        /// 创建时间，遵循ISO8601标准，使用UTC时间，格式为：yyyy-MM-ddTHH:mm:ssZ
        ///</summary>
        public string CreatedTime{ get; set; }
        ///<summary>
        /// 关闭时间，遵循ISO8601标准，使用UTC时间，格式为：yyyy-MM-ddTHH:mm:ssZ
        ///</summary>
        public string ClosedTime{ get; set; }
        ///<summary>
        /// 电话
        ///</summary>
        public string Phone{ get; set; }
        ///<summary>
        /// 邮箱
        ///</summary>
        public string Email{ get; set; }
        ///<summary>
        /// 机房英文标识
        ///</summary>
        public string Idc{ get; set; }
        ///<summary>
        /// 机房名称
        ///</summary>
        public string IdcName{ get; set; }
        ///<summary>
        /// 通用服务工单申请数量
        ///</summary>
        public int? Count{ get; set; }
        ///<summary>
        /// 是否是商业化外部机房
        ///</summary>
        public bool IsExternalIdc{ get; set; }
        ///<summary>
        /// 外部机房地址
        ///</summary>
        public string ExternalIdcAddress{ get; set; }
        ///<summary>
        /// 外部机房联系人
        ///</summary>
        public string ExternalIdcContactPerson{ get; set; }
        ///<summary>
        /// 外部机房联系电话
        ///</summary>
        public string ExternalIdcContactPhone{ get; set; }
    }
}
